package com.csxy.qiu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csxy.qiu.entity.EduChapter;
import com.csxy.qiu.entity.vo.ChapterVo;

import java.util.Collection;
import java.util.List;

public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapterVideoByCourseId(String courseId);

    void removeChapterByCourseId(String id);

    boolean deleteChapter(String chapterId);
}
